package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.DishDto;
import com.itheima.entity.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {

    public void saveWithDishFlavor(DishDto dishDto);

    public DishDto getByIdWithDishFlavor(Long id);

    void updateWithDishFlavor(DishDto dishDto);

    public void saveWithFlavor(DishDto dishDto);

    public DishDto getByIdWithFlavor(Long id);

    void updateWithFlavor(DishDto dishDto);

    void deleteLogic(List<Long> ids);
}
